package org.yyj.model;

import java.util.Objects;

public class Dlb {
    private int id;
    private String xh;
    private String kl;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getXh() {
        return xh;
    }

    public void setXh(String xh) {
        this.xh = xh;
    }

    public String getKl() {
        return kl;
    }

    public void setKl(String kl) {
        this.kl = kl;
    }

    @Override
    public boolean equals(Object o) {
        if (this == o) {
            return true;
        }
        if (o == null || getClass() != o.getClass()){
            return false;
        }
        Dlb dlb = (Dlb) o;
        return id == dlb.id && Objects.equals(xh, dlb.xh) && Objects.equals(kl, dlb.kl);
    }

    @Override
    public int hashCode() {
        return Objects.hash(id, xh, kl);
    }
}
